<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
  <xsl:output method="html" />
  <xsl:template match="/">
    <html>
      <head>
        <title>Location search results</title>
      </head>
      <body>
        <xsl:for-each select="/search/loc">
          <!-- Each record on a seperate row -->
          <xsl:element name="p">
            Location: <xsl:value-of select="." />
            <br />
            Location Id:<xsl:value-of select="@id" />
            <br />
            Type: <xsl:value-of select="@type" />
            <hr />
          </xsl:element>
        </xsl:for-each>
      </body>
    </html>
  </xsl:template>
</xsl:stylesheet>